Skip to content

Add DerivedData to BLACKLISTED_PATTERNS for haste paths#23807

Closed
zhongwuzw wants to merge 1 commit intofacebook:masterfrom
zhongwuzw:exclude_DerivedData_for_jest
Closed

Add DerivedData to BLACKLISTED_PATTERNS for haste paths#23807
zhongwuzw wants to merge 1 commit intofacebook:masterfrom
zhongwuzw:exclude_DerivedData_for_jest

Conversation

@zhongwuzw
Copy link
Copy Markdown
Contributor

Summary

Each time, when I run iOS tests like RNTesterIntegrationTests, Xcode will copy the bundle in DerivedData directory, and we added RNTesterUnitTestsBundle.js to bundle, so it leads Haste module naming collision, I think we can add DerivedData directory to blacklist.

c7d7dcbd-6507-481a-a8ef-64f16fec3a6f

Changelog

[iOS] [Fixed] - Add DerivedData to BLACKLISTED_PATTERNS for haste paths

Test Plan

No Error: jest-haste-map: Haste module naming collision can throw, even though we run the tests.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 7, 2019
Copy link
Copy Markdown
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yap, that makes sense.

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Mar 13, 2019
Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @zhongwuzw in 585d41b.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added Merged This PR has been merged. and removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants